package com.ruoyi.shis.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 实时监控_上级政府平台对象 shis_sjzfpt
 * 
 * @author ruoyi
 * @date 2023-10-07
 */
public class ShisSjzfpt extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 命令类型 */
    @Excel(name = "命令类型")
    private String commandType;

    /** 类型描述 */
    @Excel(name = "类型描述")
    private String typeDescribe;

    /** 车牌号 */
    @Excel(name = "车牌号")
    private Long licenseNum;

    /** 颜色 */
    @Excel(name = "颜色")
    private String color;

    /** 命令内容 */
    @Excel(name = "命令内容")
    private String commandContent;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 下发时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下发时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date distributeTime;

    /** 执行时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "执行时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date executeTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCommandType(String commandType) 
    {
        this.commandType = commandType;
    }

    public String getCommandType() 
    {
        return commandType;
    }
    public void setTypeDescribe(String typeDescribe) 
    {
        this.typeDescribe = typeDescribe;
    }

    public String getTypeDescribe() 
    {
        return typeDescribe;
    }
    public void setLicenseNum(Long licenseNum) 
    {
        this.licenseNum = licenseNum;
    }

    public Long getLicenseNum() 
    {
        return licenseNum;
    }
    public void setColor(String color) 
    {
        this.color = color;
    }

    public String getColor() 
    {
        return color;
    }
    public void setCommandContent(String commandContent) 
    {
        this.commandContent = commandContent;
    }

    public String getCommandContent() 
    {
        return commandContent;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDistributeTime(Date distributeTime) 
    {
        this.distributeTime = distributeTime;
    }

    public Date getDistributeTime() 
    {
        return distributeTime;
    }
    public void setExecuteTime(Date executeTime) 
    {
        this.executeTime = executeTime;
    }

    public Date getExecuteTime() 
    {
        return executeTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("commandType", getCommandType())
            .append("typeDescribe", getTypeDescribe())
            .append("licenseNum", getLicenseNum())
            .append("color", getColor())
            .append("commandContent", getCommandContent())
            .append("status", getStatus())
            .append("distributeTime", getDistributeTime())
            .append("executeTime", getExecuteTime())
            .toString();
    }
}
